public with sharing class SolutionFunction{

   
    public List<Solution__c> contents{get;set;}
   
    public void Excute(){
          
        contents = [SELECT Name ,Content__c,ID FROM Solution__c];                       
    }
    
    public SolutionFunction(){
        Excute();
    }
    }